package com.autumn.annotations.leetcode.one;

/**
 * 项目名称：com.autumn.xa
 * 类 名 称：Abstract
 * 类 描 述：TODO
 * 创建时间：2021/8/18 7:25 下午
 * 创 建 人：yeachrom
 */
public abstract class Abstract {
    private String name;
    private String address;
    private int number;

    public Abstract(String name, String address, int number) {
        System.out.println("Constructing an Employee _ 1");
        this.name = name;
        this.address = address;
        this.number = number;
    }
    public Abstract() {
        System.out.println("Constructing an Employee _ 2");

    }

    public double computePay(){
        System.out.println("Inside Employee computePay");
        return 0.0;
    }

    public abstract void comeon();

//    public abstract double computePay();

    //其余代码

    public static void main(String[] args) {
        System.out.println(
                1
        );
    }
}
